<?php
/**
 * appRain v 0.1.x
 *
 * LICENSE
 *
 * This source file is subject to the MIT license that is bundled
 * with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.opensource.org/licenses/mit-license.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@apprain.com so we can send you a copy immediately.
 *
 * @copyright  Copyright (c) 2010 appRain, Team. (http://www.apprain.com)
 * @license    http://www.opensource.org/licenses/mit-license.php MIT license
 *
 * HELP
 *
 * Official Website
 * http://www.apprain.com/
 *
 * Download Link
 * http://www.apprain.com/download
 *
 * Documents Link
 * http ://www.apprain.com/docs
 */
 ?>
<?php echo $this->callElement("default/admin_layout/loginbars"); ?>
<div id="wraper">
    <div class="admin_login">
       <h2>Login to Admin Panel</h2>
       <form action="<?php echo $this->baseurl('/');?>admin/login" method="post">
         <div class="login_error"><?php echo $error ?>&nbsp;</div>
          <ul>
            <li><strong><?php echo $this->__("Username");?></strong></li>
             <li><strong><?php echo $this->__("Password");?></strong></li>
            <li class="lih" > <input type="text"  name="data[Admin][username]" class="input_app_login" value="<?php echo $remember_admin_name; ?>" /></li>
            <li class="lih" ><input type="password" name="data[Admin][password]" value="<?php echo $remember_admin_password; ?>" class="input_app_login" /></li>
            <li><input type="checkbox"  name="data[Admin][remember_me]" /> <?php echo $this->__("Remember me on this computer");?></li>
            <li><input type="checkbox"  name="data[Admin][remember_my_name]" /> <?php echo $this->__("Remember my name only");?></li>
            <li>&nbsp;</li><li>&nbsp;</li>
            <li>
                <img src="<?php echo $this->baseurl('/images/admin/arrow_orange.gif');?>" /> <a href="<?php echo $this->baseurl('/admin/forgotlogin'); ?>">Forgot Login?</a><br />
                <img src="<?php echo $this->baseurl('/images/admin/arrow_orange.gif');?>" /> <a href="<?php echo $this->baseurl('/'); ?>" >View Website?</a>
            </li>
            <li class="align-right"><input type="image" class="noborder" src="<?php echo $this->baseurl('/images/admin/login.gif');?>" name="data[Admin][Login]" /></li>
        </ul>
        </form>
        <br class="clearboth" />
        <div class="auth-copy-right"><?php echo $this->__("appRain is a Content Management Framework. Copyright &copy; 2010 appRain.");?></div>
    </div>
</div>